<div ng-controller="MaterialCtrl" ng-init="accountAction()">
    <ul class="sui-breadcrumb">
        <li>{{'会员'|translate}}</li>
        <li class="active">
            {{"会员账户"|translate}}
        </li>
    </ul>
    <table class="sui-table table-primary" ng-if="member">
        <thead>
            <tr>
                <th>
                    <wxinfo ng-model="member.member_id"  stye="1"></wxinfo>
                </th>
                <th>帐户余额:{{(member.balance+member.present).toFixed(2)}}</th>
                <!-- <th>冻结资金帐户:{{member.freeze_balance}}</th> -->
                <!-- <th>总支付金额:{{member.total_pay}}</th> -->
                <th>账户积分:{{member.integral}}</th>
                <th>账户红包:{{member.bonus}}</th>
            </tr>
        </thead>
    </table>
    <table class="sui-table table-vzebra">
        <tbody>
            <tr>
                <td>不可用积分</td>
                <td>{{member.freeze_integral}}</td>
                <td>冻结金额</td>
                <td>{{member.freeze_balance}}</td>
            </tr>
            <tr>
                <td>失效的账户余额</td>
                <td>{{member.expired_balance}}</td>
                <td>赠送账户余额</td>
                <td>{{member.present}}</td>
            </tr>
            <tr>
                <td>冻结赠送金额</td>
                <td>{{member.freeze_present}}</td>
                <td>失效的赠送金额</td>
                <td>{{member.expired_present}}</td>
            </tr>
            <tr>
                <td>总赠送金额</td>
                <td>{{member.total_present}}</td>
                <td>总充值额</td>
                <td>{{member.total_charge}}</td>
            </tr>
            <tr>
                <td>总支付额</td>
                <td>{{member.total_pay}}</td>
                <td>优先(默认)支付选项</td>
                <td>{{member.priority_pay}}</td>
            </tr>
        </tbody>
    </table>
</div>